//
//  CustomView.m
//  UI01_UIView
//
//  Created by Rain on 16/6/3.
//  Copyright © 2016年 Rain. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView

- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor redColor];
        
    }
    
    return self;
    
}

- (instancetype)initWithFrame:(CGRect)frame withColor:(UIColor *)backgroudColor {
    
    self = [super initWithFrame: frame];
    if (self) {
        
        self.backgroundColor = backgroudColor;
    }
    
    return self;
    
    
}



@end
